package cn.memorynine.consumer.mapper;


import cn.memorynine.consumer.model.order.manage.OrderListParam;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
@Mapper
public interface OrderManageMapper {

    /**
     * 获取订单列表(分页)
     */
    List<Map<String, Object>> getOrderList(OrderListParam param);

    /**
     * 获取用户的订单列表（总数）
     */
    Integer getOrderListCount(OrderListParam param);
}
